<?php
/**
 * Created by PhpStorm.
 * User: dx
 * Date: 17/6/1
 * Time: 下午17:03
 */
class BannerRecords extends Eloquent
{
    protected $table = "banner_records";

    public function ahp_users(){
        return $this->hasOne('AhpUsers',"id","created_by");
    }

}